{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "c400691a-f5f0-4578-99e8-d72450408a7b",
   "metadata": {},
   "outputs": [],
   "source": [
    "import numpy as np\n",
    "arr1 = np.array([[10,20,30],[40,50,60]])\n",
    "print('2*3的数组arr1:\\n',arr1)\n",
    "arr2=np.array([[1,2,2],[2,2,3]])\n",
    "print('2*3的数组arr2:\\n',arr2)\n",
    "print('arr1与arr2的加法运算：\\n',arr1 + arr2)\n",
    "print('arr1与arr2的减法运算：\\n',arr1 - arr2)\n",
    "print('arr1与arr2的乘法运算：\\n',arr1 * arr2)\n",
    "print('arr1与arr2的除法运算：\\n',arr1 / arr2)\n",
    "print('arr1与arr2的幂运算：\\n',arr1 ** arr2)"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.13.5"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
